﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


class CalculateScore
{
    static void Main(string[] args)
    {
        Console.WriteLine("Ënter bonus score [1 - 9]");
        int score = Convert.ToInt32(Console.ReadLine());
        int extraScore = 0;
        int scoreRange = 0;
        if ((score >= 1) && (score <= 3)) 
        {
            scoreRange = 1;
        }
        else if ((score >= 4) && (score <= 6)) 
        {
            scoreRange = 2;
        }
        else if ((score >= 7) && (score <= 9)) 
        {
            scoreRange = 3;
        }
        switch (scoreRange) 
        {
            case 1: extraScore = 10;
                break;
            case 2: extraScore = 100;
                break;
            case 3: extraScore = 1000;
                break;
            default: extraScore = -1;
                break;
        }
        if (extraScore == -1)
        {
            Console.WriteLine("Not valid score range");
        }
        else 
        {
            Console.WriteLine("Total bonus score {0}",(extraScore * score));
        }
    }
}

